package com.service.thirddatacenter.hpool.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.io.Serializable;
import java.util.Date;

/**
 * 矿机
 *
 * @date 2021-06-08 15:41:03
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("account_miner")
public class AccountMinerEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId
    private Integer minerId;

    /**
     * 在平台中框架id
     */
    private String platformMinerId;

    /**
     * 
     */
    private String minerName;

    /**
     * 矿机算力（GB）
     */
    private Integer capacity;

    /**
     * 矿机状态(1:在线,2:离线, 3:删除)
     */
    private Integer minerStatus;

    /**
     * 平台更新时间
     */
    private Long platformUpdateTime;

    /**
     * 矿池类型(chia、ar)
     */
    private String minerType;

    /**
     * 账号id
     */
    private Integer accountId;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;
}
